VObject::FindContainerOfClass

Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:17:57 1991
Index Return to Main Contents
 

NAME

VObject::FindContainerOfClass - instance method  

TEMPLATE

nextContainer = VObject * FindContainerOfClass(Class * desiredClass)  

SPECIFIERS

public  

DESCRIPTION

FindContainerOfClass follows the container chain and returns the first container which IsKindOf the desiredClass (see also the macro IsKindOf). It is called by the method GetWindow, the method GetView and the method Getclipper to get the container of the respective class.
Generally, FindContainerOfClass can be used to get containers of any class.
Compare this method with the method EvtHandler::FindNextHandlerOfClass.  

ARGUMENTS

Class * desiredClass

the desired class of the searched container. Classes can be specified with the
macro Meta, for example Meta(Clipper).
 

RETURN ARGUMENT

VObject * nextContainer

the next container which IsKindOf
desiredClass in the container chain or NULL
 

CATEGORIES

container handling, client interface

 

FILES

implementation:
VObject.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:22 GMT, March 30, 2022